package com.zwt.util.sms;

/**
 * Created by zwt on 2018/9/6.
 * 短信发送相关
 */
public class Phone {

    //目标手机
    private String phone;
    //发送内容
    private String message;

    //动态验证
    private String randomCode;
    //动态验证周期
    private Integer randomPeriod;
    //动态验证key
    private String randomRedisKey;

    //发送次数
    private Integer sendNum;
    //发送次数周期
    private Integer sendNumPeriod;
    //发送次数key
    private String sendNumRedisKey;

    //发送间隔周期
    private Integer sendIntervalPeriod;
    //发送间隔key
    private String sendIntervalPeriodKey;

    //是否校验发送次数
    private Boolean flag;

    public Integer getSendIntervalPeriod() {
        return sendIntervalPeriod;
    }

    public void setSendIntervalPeriod(Integer sendIntervalPeriod) {
        this.sendIntervalPeriod = sendIntervalPeriod;
    }

    public String getSendIntervalPeriodKey() {
        return sendIntervalPeriodKey;
    }

    public void setSendIntervalPeriodKey(String sendIntervalPeriodKey) {
        this.sendIntervalPeriodKey = sendIntervalPeriodKey;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public void setRandomCode(String randomCode) {
        this.randomCode = randomCode;
    }

    public Integer getRandomPeriod() {
        return randomPeriod;
    }

    public void setRandomPeriod(Integer randomPeriod) {
        this.randomPeriod = randomPeriod;
    }

    public String getRandomRedisKey() {
        return randomRedisKey;
    }

    public void setRandomRedisKey(String randomRedisKey) {
        this.randomRedisKey = randomRedisKey;
    }

    public Integer getSendNum() {
        return sendNum;
    }

    public void setSendNum(Integer sendNum) {
        this.sendNum = sendNum;
    }

    public Integer getSendNumPeriod() {
        return sendNumPeriod;
    }

    public void setSendNumPeriod(Integer sendNumPeriod) {
        this.sendNumPeriod = sendNumPeriod;
    }

    public String getSendNumRedisKey() {
        return sendNumRedisKey;
    }

    public void setSendNumRedisKey(String sendNumRedisKey) {
        this.sendNumRedisKey = sendNumRedisKey;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }
}

